'Declaration Public Function New( _ ByVal values() As System.Single _ )
public Vector2( System.float[] values )
Parameters
- values
- The values to assign to the X and Y components of the vector. This must be an array with two elements.
'Declaration Public Function New( _ ByVal values() As System.Single _ )
public Vector2( System.float[] values )
Exception | Description |
---|---|
System.ArgumentNullException | Thrown when values is null . |
System.ArgumentOutOfRangeException | Thrown when values contains more or less than two elements. |